import { _decorator, Component, director, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('bgMapManager')
export class bgMapManager extends Component {
    @property(Node)
    bg1: Node


    sceneChange(sender, str) {
        if (str == 1) {
            director.loadScene('bgMap2')
        }
    }


    gameOver() {

    }

    update(deltaTime: number) {

    }
}


